package com.xiaofang.mapper;

import com.xiaofang.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: xiaofangbackend
 * @ClassName UserMapper
 * @description:
 * @author: aodi
 * @create: 2025-06-19 11:20
 * @Version 1.0
 */
@Mapper
public interface UserMapper {

//    添加用户
    public Integer addUser(User user);
    // 用户登入查询
    public User getUser(User user);

//    查询全部user
    public List<User> getAllUser();

}
